package com.myzhouye.business.service;

import com.myzhouye.business.entity.TaskInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.myzhouye.business.entity.TaskNodeConfig;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.util.List;

/**
 * <p>
 * 任务信息 服务类
 * </p>
 *
 * @author maple
 * @since 2024-01-04
 */
public interface ITaskInfoService extends IService<TaskInfo> {

    List<TaskNodeConfig> getNodeConfig(String id);

    void pushStatus(SseEmitter connect, String groupId);
}
